import QtQuick 1.0
import "images"

Rectangle {
    id:myRect
    width: 600;height: 500
    color: "black"
    radius: 15
    smooth: true
    ListModel {
        id: myModel
        ListElement {
            name: "6a209"
            notes: ListElement {picture: "images/2.jpg"}

        }
        ListElement {
             name: "Kathrain"
             notes: ListElement {picture: "images/3.jpg"}
        }
        ListElement {
            name: "crystal"
            notes: ListElement {picture: "images/4.jpg"}

        }
        ListElement{
            name: "Elina"
            notes: ListElement{picture: "images/5.jpg"}

        }
        ListElement {
            name: "Demo"
            notes: ListElement {picture: "images/jiong2.jpg"}

        }
        ListElement {
            name: "Steven"
           notes: ListElement {picture: "images/jiong.jpg"}
        }
    }
    ListView {


        anchors.fill: parent
        focus: true
        highlightRangeMode: ListView.StrictlyEnforceRange
        orientation: ListView.Horizontal
        snapMode: ListView.SnapOneItem
        model: myModel
        delegate: ListDelegate { }
    }
}
